package cn.stylefeng.guns.modular.business.frequency.syssitecity.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * sys_site_city
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysSiteCityParam extends BaseParam {

    /**
     * 网点id
     */
    @NotNull(message = "网点id不能为空",groups = {add.class,edit.class})
    private Long siteId;

    /**
     * 城市编码
     */
    @NotNull(message = "城市编码不能为空",groups = {add.class,edit.class})
    private String cityCode;

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

}
